package happy.study.clique.module.study.design.strategy;

import happy.study.clique.module.study.design.strategy.code.StrategyMapper;
import happy.study.clique.module.study.design.strategy.code.model.TagEnum;

/**
 * 策略模式实现
 *
 * @author fsq
 * @date 2021/11/11 17:41
 **/
public class RunMain {

    public static void main(String[] args) {
        StrategyMapper.getStrategy(TagEnum.ONE_STRATEGY).exec();
        StrategyMapper.getStrategy(TagEnum.TWO_STRATEGY).exec();
        StrategyMapper.getStrategy(TagEnum.THREE_STRATEGY).exec();
    }
}
